package com.ruoyi.system.dto.kujiale.info;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 渲染图信息实体类
 */
@Data
@ApiModel(description = "渲染图信息，包含渲染图的ID、类型、URL、所属房间等详细信息")
public class RenderingImage {

    @ApiModelProperty(value = "渲染图ID", required = true, example = "3FO4K5M8YDHR")
    private String picId;

    @ApiModelProperty(value = "渲染图类型。0表示普通渲染图，1表示全景图，3表示俯视图",
            required = true, example = "0")
    private int picType;

    @ApiModelProperty(value = "渲染图类型细分（取值枚举见附录）", required = true, example = "0")
    private int picDetailType;

    @ApiModelProperty(value = "渲染图所属房间的名字", required = true, example = "客厅")
    private String roomName;

    @ApiModelProperty(value = "渲染图URL", required = true,
            example = "http://qhyxpic.oss.kujiale.com/rbet/2015/03/24/NSHMYLE7TQWA5J3CEY888888_800x600.jpg")
    private String img;

    @ApiModelProperty(value = "全景图的链接地址，当渲染图是全景图类型的时候存在",
            example = "https://www.kujiale.com/xiaoguotu/pano/3FO4JLKQ5P95")
    private String panoLink;

    @ApiModelProperty(value = "渲染图的创建时间（时间戳，精确到ms）", required = true,
            example = "1426830582000")
    private long created;

    @ApiModelProperty(value = "渲染图所在房间的楼层信息，正为地上，负为地下室，不存在0层",
            example = "1")
    private Integer level;

    @ApiModelProperty(value = "渲染图的户型内的唯一识别id", required = true,
            example = "987892")
    private long roomIndex;

    @ApiModelProperty(value = "渲染图房间类型Id", required = true,
            example = "22")
    private long roomTypeId;

    @ApiModelProperty(value = "是否进行过美化", example = "false")
    private Boolean hasPs;

    @ApiModelProperty(value = "灯光模板id", example = "0")
    private Integer lightStyleId;

    @ApiModelProperty(value = "灯光模板名称", example = "手动灯光")
    private String lightStyleName;

    @ApiModelProperty(value = "是否是精选", example = "false")
    private Boolean favorite;
}
